package com.wsoft.dc.query.read;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author z001
 * @Date 2024/12/23 14:32
 */
@Data
public class BusinessReadQuery {

    @NotNull(message = "配置id不能为空")
    @Schema(description = "配置id")
    private Long configId;

    @NotBlank(message = "待办id/唯一值不能为空")
    @Schema(description = "待办id/唯一值")
    private String todoId;
}
